#include "MasinaFactory.h"

masina * MasinaFactory::creareMasina( CarName numeMasina ){
		switch (numeMasina){
			case Seddan:
				return new Seddan();
			case Coupe:
				return new Coupe();
			case Mini:
				return new Mini();
		}
		throw "Invalid Car Type!";
}

